package com.sl.au.entity;

import javax.persistence.*;

/**
 * 价格本管理备品备件实体表
 */
@Entity
@Table(name = "sl_crm_replaceDevicePrice")
public class ReplaceDevicePrice extends Root {
	/**备件 */
	@ManyToOne
	@JoinColumn(name = "replaceDevice_id") // 加入一列作为外键
	private ReplacementDevice replacementDevice;
	
	/**备件名称*/
    @Column(name ="sReDeviceName")
    private String reDeviceName;
    
    /**备件型号*/
    @Column(name ="sReType")
    private String reType;
    
    /**材料*/
    @Column(name ="sReMaterial")
    private String reMaterial;
    
    /** 部门 */
    @Column(name ="sSuperior")
    private String superior;
    
    /**价格*/
    @Column(name = "nPrice")
    private Float price;
    
	public String getReType() {
		return reType;
	}

	public void setReType(String reType) {
		this.reType = reType;
	}

	public String getReMaterial() {
		return reMaterial;
	}

	public void setReMaterial(String reMaterial) {
		this.reMaterial = reMaterial;
	}

	public ReplacementDevice getReplacementDevice() {
		return replacementDevice;
	}

	public void setReplacementDevice(ReplacementDevice replacementDevice) {
		this.replacementDevice = replacementDevice;
	}

	public String getReDeviceName() {
		return reDeviceName;
	}

	public void setReDeviceName(String reDeviceName) {
		this.reDeviceName = reDeviceName;
	}

	public String getSuperior() {
		return superior;
	}

	public void setSuperior(String superior) {
		this.superior = superior;
	}

	public Float getPrice() {
		return price;
	}

	public void setPrice(Float price) {
		this.price = price;
	}
    
    
}